﻿#ifndef MANAGER_H
#define MANAGER_H

#include <QObject>
#include <httppostrequest.h>

class Manager : public QObject
{
    Q_OBJECT
public:
    explicit Manager(QObject *parent = 0);

signals:

public slots:
    void manage_modify_info_finished();

public:
    HttpPostRequest *request = new HttpPostRequest();
    void manage_modify_info(QJsonObject &data);
    void get_manager_info(QString token, int uid);
    int uid;
    int id;
    QString jwt_token;
    QString name;
    QString phone;
    int prefer;
    QString sex;
    QJsonArray food_list;
    QJsonArray order_list;
};

#endif // MANAGER_H
